/*
 * $Id: JsonSitesReader.java 92 2009-06-22 15:43:23Z donbeave $
 */

package labour.concept.engine.client.data.json;

import java.util.List;

import labour.concept.engine.client.data.SiteModel;
import labour.concept.engine.client.data.SiteModelType;

import com.extjs.gxt.ui.client.data.JsonReader;
import com.extjs.gxt.ui.client.data.ModelData;

public class JsonSitesReader<D extends SiteModel> extends JsonReader<List<D>> {

  public JsonSitesReader(SiteModelType modelType) {
    super(modelType);
  }

  @Override
  protected ModelData newModelInstance() {
    return new SiteModel();
  }

}
